#include "emailtool.h"

EmailTool* EmailTool::_instance=nullptr;

EmailTool* EmailTool::GetInstance(QObject* parent){
    if(EmailTool::_instance==nullptr)
        EmailTool::_instance=new EmailTool(parent);
    return EmailTool::_instance;
}
EmailTool::~EmailTool(){

}

std::function<void()> EmailTool::GetToolFunction(Yzty::EmailToolCode){

    std::function<void()> tool=[this](){
        this->CheckEmailInfor();
    };

    return tool;
}

EmailTool::EmailTool(QObject* parent):QObject (parent){

}


QVector<Yzty::BaceInfor*> EmailTool::CheckEmailInfor(){
    QVector<Yzty::BaceInfor*> res;
    return res;
}
